import 'package:elevator/widgets/hor_single_choice_list/hor_single_choice_list_state.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';

import '../../model/base_model.dart';


class HorSingleChoiceList<T extends BaseModel> extends StatefulWidget{

  List<T> datas = [];
  int selectedPositionId = 0;
  Function? onSelectChanged;
  Color selelctColor = Colors.orange;

  HorSingleChoiceList({Key? key,required this.datas,this.onSelectChanged,int? selectedPositionId,this.selelctColor= Colors.orange}) : super(key: key);

  @override
  State<StatefulWidget> createState() {
    return HorSingleChoiceListState();
  }
}
